{% load staticfiles %}
<div id="tabs-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="display: none;">
                                    <div class="modal-dialog modal-lg">
                                        <div class="modal-content p-0">
                                            <ul class="nav nav-tabs nav-justified">
                                                <li class="active">
                                                    <a href="#home-2" data-toggle="tab" aria-expanded="true">
                                                        <span class="visible-xs"><i class="fa fa-home"></i></span>
                                                        <span class="hidden-xs">关键词模式</span>
                                                    </a>
                                                </li>
                                                <li class="">
                                                    <a href="#profile-2" data-toggle="tab" aria-expanded="false">
                                                        <span class="visible-xs"><i class="fa fa-user"></i></span>
                                                        <span class="hidden-xs">URL模式</span>
                                                    </a>
                                                </li>
                                                <li class="">
                                                    <a href="#messages-2" data-toggle="tab" aria-expanded="false">
                                                        <span class="visible-xs"><i class="fa fa-envelope-o"></i></span>
                                                        <span class="hidden-xs">单品采集</span>
                                                    </a>
                                                </li>
                                                <li class="">
                                                    <a href="#settings-2" data-toggle="tab" aria-expanded="false">
                                                        <span class="visible-xs"><i class="fa fa-cog"></i></span>
                                                        <span class="hidden-xs">高级模式</span>
                                                    </a>
                                                </li>
                                            </ul>
                                            <div class="tab-content">
                                                <div class="tab-pane active" id="home-2">
                                                    <form class="form-horizontal" action="{% url 'ucenter' %}" method="POST">
                                                    {% csrf_token %}
                                                  <input type="hidden" value="1"/>
                                                  <div class="form-group">
                                                    <label class="sr-only" for="exampleInputAmount">搜索关键词 (in dollars)</label>
                                                    <div class="input-group">
                                                      <div class="input-group-addon">输入搜索词</div>
                                                        <div class="col-md-5">
                                                      <input type="text" class="form-control word" id="keyword" name="keyword" placeholder="Keywords">
                                                            </div>
                                                        <button type="submit" class="btn btn-info">添 加</button>
                                                    </div>
                                                  </div>

                                                </form>
                                                    <hr/>
                                                    <form action="{% url 'ucenter' %}" class="form-horizontal" method="POST">
                                                          {% csrf_token %}
                                                        <div class="form-group">
                                                          <div class="col-md-10">
                                                              <textarea name="lotkeywords" id="lotkeywords" class="form-control" rows="10"></textarea>

                                                </div></div>
                                                        <button type="submit" class="btn btn-info">批量导入</button>

                                                      </form>

                                                </div>
                                                <div class="tab-pane" id="profile-2">
                                                    <form class="form-horizontal" action="{% url 'ucenter' %}" method="POST">
                                                        {% csrf_token %}
                                                        <input type="hidden" value="1"/>
                                                      <div class="form-group">
                                                        <label class="sr-only" for="exampleInputAmount">搜索结果URL (in dollars)</label>
                                                        <div class="input-group ">
                                                          <div class="input-group-addon">列表URL</div>
                                                            <div class="col-md-10">
                                                                <input type="text" class="form-control url" id="url" name="url" placeholder="URL">
                                                            </div>
                                                          <button type="submit" class="btn btn-info">添 加</button>
                                                        </div>
                                                      </div>

                                                    </form>
                                                </div>

                                                <div class="tab-pane" id="messages-2">
                                                    <form id="formLink" class="form-horizontal" action="{% url 'aliexpress:single' %}" method="POST">
                                                        {% csrf_token %}
                                                        <input type="hidden" value="4"/>
                                                      <div class="form-group">
                                                        <label class="sr-only" for="exampleInputAmount">产品URL (in dollars)</label>
                                                        <div class="input-group">
                                                          <div class="input-group-addon">产品URL</div>
                                                            <div class="col-md-10">
                                                                <input type="text" class="form-control link" id="link" name="link" placeholder="PRODUCT URL">
                                                            </div>
                                                            <button type="submit" class="btn btn-info">采 集</button>

                                                        </div>
                                                      </div>

                                                    </form>
                                                </div>

                                                <div class="tab-pane" id="settings-2">
                                                    <h2>Comming soon ...</h2>
                                                  <p>
                                                       可以筛选价格区间、排序、免邮、ship from、采集页数
                                                  </p>
                                                </div>
                                            </div>
                                        </div><!-- /.modal-content -->
                                    </div><!-- /.modal-dialog -->
                                </div><!-- /.modal -->
